<template>
  <router-view></router-view>
</template>

<script lang="ts">
import { defineComponent, ref } from 'vue'
import SearchInput from '../../../../components/search-input/index.vue';
import Nav from './components/nav/index.vue';
import useRecommendAll from './useRecommendAll.ts'

export default defineComponent({
  components: {
    SearchInput,
    Nav,
  },
  setup () {
    // let data = ref([])
    // useRecommendAll(10).then(res => {
    //   for(let v of res) {
    //     console.log(v);
    //     data.value.push(v)
    //   }
    // })
    // console.log(data)
    // return {data}
  }
})
</script>

<style scoped lang="less">
.recommended {
  &-header {
    display: flex;
    align-items: center;
    padding: 20 * @unit 50 * @unit;
    background-color: @white;
    .search-input-con {
      flex: 1;
      margin-right: 25 * @unit;
    }
    .label-manage-entry {
      display: flex;
      align-items: center;
      flex-shrink: 0;
      flex-grow: 0;
      color: @secondary-text-color;
      &__icon {
        margin-right: 10 * @unit;
      }
    }
  }
}
</style>